﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BookTransactionControllers.Services_Impl;
using System.Data.SqlClient;
using BookTransactionModels;

public partial class Views_Register : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnRegister_Click(object sender, EventArgs e)
    {
        UserBean user = new UserBean();
        user.FullName = txtFullName.Text;
        user.Password = txtPassword.Text;
        UserManagerImpl userMngImpl = new UserManagerImpl();
        userMngImpl.Insert(user);
    }
}